package com.numberone.master.modules.orders.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.numberone.master.common.persistence.Page;
import com.numberone.master.common.service.CrudService;
import com.numberone.master.modules.orders.entity.WithdrawalsOrder;
import com.numberone.master.modules.orders.dao.WithdrawalsOrderDao;

/**
 * 提现Service
 * @author ck
 * @version 2018-03-27
 */
@Service
@Transactional(readOnly = true)
public class WithdrawalsOrderService extends CrudService<WithdrawalsOrderDao, WithdrawalsOrder> {

	public WithdrawalsOrder get(String id) {
		return super.get(id);
	}
	
	public List<WithdrawalsOrder> findList(WithdrawalsOrder withdrawalsOrder) {
		return super.findList(withdrawalsOrder);
	}
	
	public Page<WithdrawalsOrder> findPage(Page<WithdrawalsOrder> page, WithdrawalsOrder withdrawalsOrder) {
		return super.findPage(page, withdrawalsOrder);
	}
	
	@Transactional(readOnly = false)
	public void save(WithdrawalsOrder withdrawalsOrder) {
		super.save(withdrawalsOrder);
	}

	@Transactional(readOnly = false)
	public void update(WithdrawalsOrder withdrawalsOrder) {
		super.update(withdrawalsOrder);
	}
	
	@Transactional(readOnly = false)
	public void delete(WithdrawalsOrder withdrawalsOrder) {
		super.delete(withdrawalsOrder);
	}
	
}